# mysql 配置
DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.mysql",
        "NAME": "demo",
        "USER": "root",
        "PASSWORD": "Zry123456789.",
        "HOST": "localhost",
        "PORT": "3306",
        "OPTIONS": {
            "init_command": "SET sql_mode='STRICT_TRANS_TABLES'",
            "charset": "utf8mb4",
        },
        "CONN_MAX_AGE": 300,
        "CONN_HEALTH_CHECKS": True,
    }
}

# redis 配置
redis_host = "127.0.0.1"
redis_port = 6379

# redis数据库配置
redis_db_for_goods = 0
redis_db_for_celery = 1
redis_db_for_celery_result = 2
